<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
 <input type="text" value="hello 事件" onkeydown="show('键盘按下了')" onkeyup="show('键盘松开了')" onchange="show('内容改变了')" onfocus="show('我获取焦点了')" onblur="show('我失去焦点了')">
  <script>
  function show(str){
	console.log(str);//在控制台打印相关信息
  }
  </script>
 </body>
</html>
